include ../include.mk
#CC = gcc
OBJS = main.o io.o
ALIB = ../addition
LIBS = $(ALIB)/add.a
#INC = $(ALIB)
CFLAGS += $(FLAGS)-Wall -I. -I$(ALIB)
INCPATH = .

.c.o:
	$(CC) $(CFLAGS) $(INC) -c $<

calc: $(OBJS) $(LIBS)
	$(CC) $(CFLAGS) -o calc $(OBJS) $(LIBS)

$(OBJS): $(ALIB)/add.h $(INCPATH)/io.h

clean:
	-rm -f *.o calc

